package com.link.base.base.warehousecap.controller;

import javax.annotation.Resource;

import com.link.base.base.warehousecap.model.WarehouseCap;
import com.link.base.base.warehousecap.service.WarehouseCapService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.link.core.basic.service.KeyGenerateService;

/**
 * @author  liushoulong
 * @date 2018-10-29
 * @desc 仓储能力
 */
@Controller("WarehouseCapController")
@RequestMapping("/link/warehouseCap")
public class WarehouseCapController extends BasicController<WarehouseCap> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private WarehouseCapService warehouseCapService;

    @Override
    public BasicService<WarehouseCap> getBasicService() throws Exception {
        return warehouseCapService;
    }     
}
